home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Algorithms for Image Analysis
/
Practical Algorithms for Image Analysis.iso
/
CH_5.7
/
EH_SEG
/
EH_SEG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1999-09-11
|
900b
|
37 lines
/*
* eh_seg.h
*
* Practical Algorithms for Image Analysis
*
* Copyright (c) 1997, 1998, 1999 MLMSoftwareGroup, LLC
*/
#ifndef _EH_SEG_H_
#define _EH_SEG_H_
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fcntl.h>
#include <memory.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include "ip.h"
/* function prototypes */
extern void usage (char *progname);
#if defined(LINUX)
extern int compare (float *t1, float *t2);
#else
extern int compare (const void *t1, const void *t2);
#endif
extern double find_mean (float *data, int n);
extern double find_sigma (float *data, int n, double mean);
extern void construct_hist (int n, float *data, float *hist, double bw, double data_base);
extern int seg_size (FILE * file);
extern double slp_to_angle (double m, double delx, double dely);
extern void main (int argc, char *argv[]);
#endif /* _EH_SEG_H_ */